#ifndef WIDGET_H
#define WIDGET_H

#include <QMainWindow>
#include <QMenu>
#include <QToolBar>
#include "chartviewex.h"
class widget : public QMainWindow
{
    Q_OBJECT

public:
    widget(QWidget *parent = 0);
    ~widget();
private slots:
    void AddData();
    void DeleteAllData();
private:
  QMenu *dataMenu;
  QToolBar *dataToolBar;
  QAction *addAction;
  QAction *deleteAction;
  ChartViewEx* m_chartView;
};

#endif // WIDGET_H
